[Top] [Prev] [Next] [Bottom]
[Contents]
SaPopulateChars
Populates HTML stream with data.
#include "SaRnHtml.h"
void SaPopulateChars(Widget list,
XtPointer client_data,
SaCallbackStruct *cbs);
Arguments
- list
- Not used.
- client_data
- Not used.
- cbs
- An SaCallbackStruct callback structure containing the data.
Return Values
None.
Populates HTML stream with data. For each row, this callback prints a line which is the concatenation of the column data for that row. Spaces are added to align columns. This alignment will only be seen by the HTML user when the site is surrounded by <PRE></PRE> tags, and a <BR> tag separates rows.
/*** the following ad-hoc example can be used without templates
**/
SaCallbackStruct *cbs;
cbs = SaExecSQL("CEZANNE", "pubs2", SGESYBASE, "select * from
authors");
/*** calls to set the beginning HTML context ***/
SaPopulateChars(NULL, NULL, cbs);
/*** calls to complete the HTML context ***/
SaFreeCbs(cbs);
- Note: This call is generated automatically by Sapphire/Web through use of the Results found on the Object Bind Editor.
In the case where your html binds to a database object containing an html string, you can display the resultant data without the translation (< becomes < and > becomes >, etc.) by using SaPopulateHTMLChars.
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.